﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Petroleum.DB.Model
{
    /// <summary>
    /// Step3 井眼轨迹设计
    /// </summary>
    public class WellTrajectory : BaseModel
    {
        /// <summary>
        /// 井槽定位图片
        /// </summary>
        public string ImgWellsSlotLocation { get; set; }
        /// <summary>
        /// 垂直项目图片？
        /// </summary>
        public string ImgTheVerticalProject { get; set; }
        /// <summary>
        /// 横向图片
        /// </summary>
        public string ImgTheHorizontalProjection { get; set; }
        /// <summary>
        /// 横向图片2
        /// </summary>
        public string ImgTheHorizontalProjection2 { get; set; }

        /// <summary>
        /// 井眼轨迹集合
        /// </summary>
        public List<Trajectory> TrajectoryList { get; set; } = new List<Trajectory>();
        
    }
    /// <summary>
    /// 井眼轨迹
    /// </summary>
    public class Trajectory
    {
        public decimal MD { get; set; } = 0;
        public decimal CL { get; set; } = 0;
        public decimal Inc { get; set; } = 0;
        public decimal Azi { get; set; } = 0;
        public decimal TVD { get; set; } = 0;
        public decimal NS { get; set; } = 0;
        public decimal EW { get; set; } = 0;
        public decimal VSec { get; set; } = 0;
        public decimal Dogleg { get; set; } = 0;
        public decimal MapN { get; set; } = 0;
        public decimal MapE { get; set; } = 0;
        /// <summary>
        /// 1:靶点
        /// </summary>
        public string IsTarget { get; set; }

        //扩展信息

        /// <summary>
        /// 目标半径
        /// </summary>
        public string RadiusOfTarget { get; set; } = "<= 20";
    }
    public class TrajectoryTargetModel
    {
        public decimal md_Tra { get; set; } = 0;
        public decimal tvd_Tra { get; set; } = 0;
        public decimal tvdA { get; set; } = 0;
        public decimal tvdB { get; set; } = 0;
        public decimal VB { get; set; } = 0;
        public decimal VA { get; set; } = 0;
        public decimal azim { get; set; } = 0;
    }
}
